package cn.zhx.xa.system;

import cn.zhx.xa.service.annotation.EnableUserLoginAuthInterceptor;
import cn.zhx.xa.system.properties.MinioProperties;
import cn.zhx.xa.system.properties.UserAuthProperties;
import org.springframework.boot.SpringApplication;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;


@SpringBootApplication()
@ComponentScan(basePackages = {"cn.zhx.xa"})
@EnableConfigurationProperties(value = {UserAuthProperties.class, MinioProperties.class})
@EnableScheduling
@EnableUserLoginAuthInterceptor
public class SystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class , args) ;
    }
}
